/* 
 * File:   project_group_item.hpp
 * Author: jolo
 *
 * Created on 11. Oktober 2011, 15:19
 */

#ifndef GUI_PROJECT_GROUP_ITEM_HPP
#define	GUI_PROJECT_GROUP_ITEM_HPP

#include <widgets/group_item.hpp>

namespace model {
    class repository;
    typedef shared_ptr<repository> repository_ptr;
}

namespace gui
{

    class project_group_item: public widgets::group_item
    {
    public:
        project_group_item(model::repository_ptr r);
        virtual ~project_group_item();
        
        model::repository_ptr repository() const {
            return r_;
        }
    private:
        model::repository_ptr r_;
    };
}

#endif	/* PROJECT_GROUP_ITEM_HPP */

